home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3cylind.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_CYLIND_H = 1;
- include("oops/r3vector.js")
- include("real/objects/r3prim.js")
-
-
- var R3CLID_CYLINDER = 172;
-
-
-
-
- R3CYLA_Center = 172500;
- function SetR3CYLA_Center(value) {
- R3Set(this.r3obj, R3CYLA_Center, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CYLA_Center() {
- return R3Get(this.r3obj, R3CYLA_Center, R3TID_VECTOR, 0);
- }
-
- R3CYLA_A = 172501;
- function SetR3CYLA_A(value) {
- R3Set(this.r3obj, R3CYLA_A, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CYLA_A() {
- return R3Get(this.r3obj, R3CYLA_A, R3TID_VECTOR, 0);
- }
-
- R3CYLA_B = 172502;
- function SetR3CYLA_B(value) {
- R3Set(this.r3obj, R3CYLA_B, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CYLA_B() {
- return R3Get(this.r3obj, R3CYLA_B, R3TID_VECTOR, 0);
- }
-
- R3CYLA_C = 172503;
- function SetR3CYLA_C(value) {
- R3Set(this.r3obj, R3CYLA_C, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CYLA_C() {
- return R3Get(this.r3obj, R3CYLA_C, R3TID_VECTOR, 0);
- }
-
- R3CYLA_P1 = 172504;
- function SetR3CYLA_P1(value) {
- R3Set(this.r3obj, R3CYLA_P1, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CYLA_P1() {
- return R3Get(this.r3obj, R3CYLA_P1, R3TID_VECTOR, 0);
- }
-
- R3CYLA_N1 = 172505;
- function SetR3CYLA_N1(value) {
- R3Set(this.r3obj, R3CYLA_N1, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CYLA_N1() {
- return R3Get(this.r3obj, R3CYLA_N1, R3TID_VECTOR, 0);
- }
-
- R3CYLA_M1 = 172506;
- function SetR3CYLA_M1(value) {
- R3Set(this.r3obj, R3CYLA_M1, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CYLA_M1() {
- return R3Get(this.r3obj, R3CYLA_M1, R3TID_VECTOR, 0);
- }
-
- R3CYLA_P2 = 172507;
- function SetR3CYLA_P2(value) {
- R3Set(this.r3obj, R3CYLA_P2, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CYLA_P2() {
- return R3Get(this.r3obj, R3CYLA_P2, R3TID_VECTOR, 0);
- }
-
- R3CYLA_N2 = 172508;
- function SetR3CYLA_N2(value) {
- R3Set(this.r3obj, R3CYLA_N2, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CYLA_N2() {
- return R3Get(this.r3obj, R3CYLA_N2, R3TID_VECTOR, 0);
- }
-
- R3CYLA_M2 = 172509;
- function SetR3CYLA_M2(value) {
- R3Set(this.r3obj, R3CYLA_M2, value, R3TID_VECTOR, 0);
- }
-
- function GetR3CYLA_M2() {
- return R3Get(this.r3obj, R3CYLA_M2, R3TID_VECTOR, 0);
- }
-
- R3CYLA_AS = 172510;
- function SetR3CYLA_AS(value) {
- R3Set(this.r3obj, R3CYLA_AS, value, R3TID_FLOAT, 0);
- }
-
- function GetR3CYLA_AS() {
- return R3Get(this.r3obj, R3CYLA_AS, R3TID_FLOAT, 0);
- }
-
- R3CYLA_AE = 172511;
- function SetR3CYLA_AE(value) {
- R3Set(this.r3obj, R3CYLA_AE, value, R3TID_FLOAT, 0);
- }
-
- function GetR3CYLA_AE() {
- return R3Get(this.r3obj, R3CYLA_AE, R3TID_FLOAT, 0);
- }
-
- R3CYLA_AS3D = 172512;
- function GetR3CYLA_AS3D() {
- return R3Get(this.r3obj, R3CYLA_AS3D, R3TID_VECTOR, 0);
- }
-
- R3CYLA_AE3D = 172513;
- function GetR3CYLA_AE3D() {
- return R3Get(this.r3obj, R3CYLA_AE3D, R3TID_VECTOR, 0);
- }
-
- R3CYLA_Len = 172514;
- function SetR3CYLA_Len(value) {
- R3Set(this.r3obj, R3CYLA_Len, value, R3TID_FLOAT, 0);
- }
-
- function GetR3CYLA_Len() {
- return R3Get(this.r3obj, R3CYLA_Len, R3TID_FLOAT, 0);
- }
-
- R3CYLA_ALen = 172515;
- function SetR3CYLA_ALen(value) {
- R3Set(this.r3obj, R3CYLA_ALen, value, R3TID_FLOAT, 0);
- }
-
- function GetR3CYLA_ALen() {
- return R3Get(this.r3obj, R3CYLA_ALen, R3TID_FLOAT, 0);
- }
-
- R3CYLA_BLen = 172516;
- function SetR3CYLA_BLen(value) {
- R3Set(this.r3obj, R3CYLA_BLen, value, R3TID_FLOAT, 0);
- }
-
- function GetR3CYLA_BLen() {
- return R3Get(this.r3obj, R3CYLA_BLen, R3TID_FLOAT, 0);
- }
-
- R3CYLA_Infinite = 172517;
- function SetR3CYLA_Infinite(value) {
- R3Set(this.r3obj, R3CYLA_Infinite, value, R3TID_INTEGER, 0);
- }
-
- function GetR3CYLA_Infinite() {
- return R3Get(this.r3obj, R3CYLA_Infinite, R3TID_INTEGER, 0);
- }
-
- R3CYLA_Uncovered1 = 172518;
- function SetR3CYLA_Uncovered1(value) {
- R3Set(this.r3obj, R3CYLA_Uncovered1, value, R3TID_INTEGER, 0);
- }
-
- function GetR3CYLA_Uncovered1() {
- return R3Get(this.r3obj, R3CYLA_Uncovered1, R3TID_INTEGER, 0);
- }
-
- R3CYLA_Uncovered2 = 172519;
- function SetR3CYLA_Uncovered2(value) {
- R3Set(this.r3obj, R3CYLA_Uncovered2, value, R3TID_INTEGER, 0);
- }
-
- function GetR3CYLA_Uncovered2() {
- return R3Get(this.r3obj, R3CYLA_Uncovered2, R3TID_INTEGER, 0);
- }
-
- R3CYLA_Sector = 172520;
- function SetR3CYLA_Sector(value) {
- R3Set(this.r3obj, R3CYLA_Sector, value, R3TID_INTEGER, 0);
- }
-
- function GetR3CYLA_Sector() {
- return R3Get(this.r3obj, R3CYLA_Sector, R3TID_INTEGER, 0);
- }
-
-
-
- function r3Cylinder () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_CYLINDER, arguments);
- }
- // Attributes
- this.GetCenter=GetR3CYLA_Center;
- this.SetCenter=SetR3CYLA_Center;
- this.GetA=GetR3CYLA_A;
- this.SetA=SetR3CYLA_A;
- this.GetB=GetR3CYLA_B;
- this.SetB=SetR3CYLA_B;
- this.GetC=GetR3CYLA_C;
- this.SetC=SetR3CYLA_C;
- this.GetP1=GetR3CYLA_P1;
- this.SetP1=SetR3CYLA_P1;
- this.GetN1=GetR3CYLA_N1;
- this.SetN1=SetR3CYLA_N1;
- this.GetM1=GetR3CYLA_M1;
- this.SetM1=SetR3CYLA_M1;
- this.GetP2=GetR3CYLA_P2;
- this.SetP2=SetR3CYLA_P2;
- this.GetN2=GetR3CYLA_N2;
- this.SetN2=SetR3CYLA_N2;
- this.GetM2=GetR3CYLA_M2;
- this.SetM2=SetR3CYLA_M2;
- this.GetAS=GetR3CYLA_AS;
- this.SetAS=SetR3CYLA_AS;
- this.GetAE=GetR3CYLA_AE;
- this.SetAE=SetR3CYLA_AE;
- this.GetAS3D=GetR3CYLA_AS3D;
- this.GetAE3D=GetR3CYLA_AE3D;
- this.GetLen=GetR3CYLA_Len;
- this.SetLen=SetR3CYLA_Len;
- this.GetALen=GetR3CYLA_ALen;
- this.SetALen=SetR3CYLA_ALen;
- this.GetBLen=GetR3CYLA_BLen;
- this.SetBLen=SetR3CYLA_BLen;
- this.GetInfinite=GetR3CYLA_Infinite;
- this.SetInfinite=SetR3CYLA_Infinite;
- this.GetUncovered1=GetR3CYLA_Uncovered1;
- this.SetUncovered1=SetR3CYLA_Uncovered1;
- this.GetUncovered2=GetR3CYLA_Uncovered2;
- this.SetUncovered2=SetR3CYLA_Uncovered2;
- this.GetSector=GetR3CYLA_Sector;
- this.SetSector=SetR3CYLA_Sector;
- }
-
- r3Cylinder.prototype=new r3Primitive;
- // r3cylind.h_H